package org.edu.modules.logistics.base.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-办公物品分类
 */
@TableName("ve_houqin_bgwpfl")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="办公物品分类对象", description="ve_houqin_bgwpfl")
public class VeHqBgwpfl extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "分类名称")
    @Length(max = 50)
    private String name;

    @TableField
    @ApiModelProperty(value = "状态码 ：0为禁用，1启用")
    private Integer status;

    @TableField
    @ApiModelProperty(value = "是否为耗材 0否1是")
    private Integer sfhc;

    @TableField
    @ApiModelProperty(value = "")
    private Integer pid;

    @TableField
    @ApiModelProperty(value = "")
    private Integer listSort;
}
